@extends('layouts.application')


@section('content')

    @include('shared._sidebar')
    <!-- content start -->
    <div class="admin-content">
        <div class="admin-content-body">
            <h2 class="am-text-primary title_order">租赁订单详情</h2>
            <hr>
            <div class="am-panel am-panel-secondary">
                <div class="am-panel-hd">订单信息</div>
                <div class="am-panel-bd">
                    <ul class="detail_ul">
                        <li><span class="d1">订单号：</span><span class="d2">{{$lease_detail['order_no']}}</span></li>
                        <li><span class="d1">订单ID：</span><span class="d2">{{$lease_detail['id']}}</span></li>
                        <li>
                            <span class="d1">创建时间：</span><span class="d2">{{date('Y-m-d H:i:s', $lease_detail['create_time'])}}</span>
                        </li>
                        <li>
                            <span class="d1">支付时间：</span><span class="d2">{{date('Y-m-d H:i:s', $lease_detail['pay_time'])}}</span>
                        </li>
                        <li>
                            <span class="d1">租赁方式：</span><span class="d2">{!! set_lease_type($lease_detail['lease_type']) !!}</span>
                        </li>
                        <li><span class="d1">商品租赁数量：</span><span class="d2">{{$lease_detail['goods_count']}}</span></li>
                        <li><span class="d1">商品租赁时间：</span><span class="d2">{{date('Y-m-d H:i:s', $lease_detail['begin_time'])}}~{{date('Y-m-d H:i:s', $lease_detail['end_time'])}}</span></li>
                        <li><span class="d1">订单金额：</span><span class="d2">￥{{$lease_detail['order_amount']}}</span></li>
                        <li>
                            <span class="d1">买家维权状态：</span><span class="d2">{!! set_arbitration_status($lease_detail['buyer_arbitration_status']) !!}</span>
                        </li>
                        <li>
                            <span class="d1">卖家维权状态：</span><span class="d2">{!! set_arbitration_status($lease_detail['seller_arbitration_status']) !!}</span>
                        </li>
                        <li><span class="d1">买家ID：</span><span class="d2">{{$lease_detail['buyer_id']}}</span></li>
                        <li><span class="d1">卖家ID：</span><span class="d2">{{$lease_detail['seller_id']}}</span></li>
                        <li>
                            <span class="d1">商户订单号：</span><span class="d2">{{$lease_detail['out_order_no']}}</span>
                        </li>
                        <li>
                            <span class="d1">买家电话：</span><span class="d2">{{$lease_detail['buy_phone']}}</span>
                        </li>
                        <li>
                            <span class="d1">卖家QQ：</span><span class="d2">{{$lease_detail['buy_qq']}}</span>
                        </li>
                        <li>
                            <span class="d1">是否赔付：</span><span class="d2">{!! set_compensate($lease_detail['compensate']) !!}</span>
                        </li>
                    </ul>
                </div>
            </div>

            <section class="am-panel am-panel-secondary">
                <header class="am-panel-hd">
                    <h3 class="am-panel-title">商品信息</h3>
                </header>
                <div class="am-panel-bd">
                    <ul class="detail_ul">

                        <li><span class="d1">商品ID：</span><span class="d2">{{$lease_detail['goods_id']}}</span></li>
                        <li><span class="d1">原始价格：</span><span class="d2">{{$lease_detail['ori_goods_price']}}</span></li>
                        <li>
                            <span class="d1">商品单价：</span><span class="d2">￥{{$lease_detail['goods_price']}}</span>
                        </li>
                        <li><span class="d1">商品标题：</span><span class="d2">{{$lease_detail['goods_title']}}</span></li>
                        <li>
                            <span class="d1">游戏名字：</span><span class="d2">{{$lease_detail['goods_name']}}</span>
                        </li>
                        <li>
                            <span class="d1">游戏大区：</span><span class="d2">{{$lease_detail['server_name']}}</span>
                        </li>
                        <li>
                            <span class="d1">游戏全区：</span><span class="d2">{{$lease_detail['game_all_name']}}</span>
                        </li>
                        <li>
                            <span class="d1">卖家维权状态：</span><span class="d2">{!! set_arbitration_status($lease_detail['seller_arbitration_status']) !!}</span>
                        </li>
                        <li><span class="d1">买家id：</span><span class="d2">{{$lease_detail['buyer_id']}}</span></li>
                        <li><span class="d1">卖家id：</span><span class="d2">{{$lease_detail['seller_id']}}</span></li>
                        <li>
                            <span class="d1">商户订单号：</span><span class="d2">{{$lease_detail['out_order_no']}}</span>
                        </li>
                    </ul>
                </div>

            </section>

            <section class="am-panel am-panel-secondary">
                <header class="am-panel-hd">
                    <h3 class="am-panel-title">商品描述</h3>
                </header>
                <div class="am-panel-bd">
                   {{$lease_detail['goods_remark']}}
                </div>

            </section>

        </div>
    </div>
    <!-- content end -->
@endsection



